package com.Langrui.entity;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import javax.persistence.Entity;
import java.util.Date;

@Setter
@Getter
@Data

@Entity  //与数据库对应的实体类
public class Article {

    @Id
    private String id;

    private long article_id;
    private Date created_time;
    private int stars;
    private char uid;
    private char content;
    private char is_open;
    private char is_stick;
    private int views;
    private int share;
    private char module_id;
    private char picture;
    private int star_uid;


}
